Polynomial Solver